package com.konke.sdslibrary.event;

import com.konke.sdslibrary.model.UniformDeviceType;

/**
 * Created by L on 2016/12/15.
 */

public class BoolSensorEvent extends RoomDeviceStatusEvent {

    private boolean normal;
    private boolean dismantle;
    private boolean lowPower;
    private boolean probeFalloff;
    private int battery;
    private UniformDeviceType uniformDeviceType;

    public BoolSensorEvent(String ccuId, int deviceId, int roomId) {
        super(ccuId, deviceId, roomId);
    }

    public boolean isNormal() {
        return normal;
    }

    public void setNormal(boolean normal) {
        this.normal = normal;
    }

    public boolean isDismantle() {
        return dismantle;
    }

    public void setDismantle(boolean dismantle) {
        this.dismantle = dismantle;
    }

    public boolean isLowPower() {
        return lowPower;
    }

    public void setLowPower(boolean lowPower) {
        this.lowPower = lowPower;
    }

    public boolean isProbeFalloff() {
        return probeFalloff;
    }

    public void setProbeFalloff(boolean probeFalloff) {
        this.probeFalloff = probeFalloff;
    }

    public int getBattery() {
        return battery;
    }

    public void setBattery(int battery) {
        this.battery = battery;
    }

    public UniformDeviceType getUniformDeviceType() {
        return uniformDeviceType;
    }

    public void setUniformDeviceType(UniformDeviceType uniformDeviceType) {
        this.uniformDeviceType = uniformDeviceType;
    }
}
